<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!doctype html>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>LoveTemperature</title>
		<meta name="author" content="ningzero"/>

		<!-- CSS -->
		<link rel="stylesheet" href="../css/bestSeller.css">
		<!-- end CSS-->

	</head>

	<body>

		<div id="container">
			<header class="header">
				<div id="login_cart_bar">
					<div id="loginRegisterDiv">
						您好，<s:property value="#session.user.name" />
						<a class="pinkAnchor" href="http://localhost:8080/lovetemperature/sale/logout">退出登录</a>
					</div>
					<div id="cartAccountDiv">
						<a class="pinkAnchor">我的页面</a>
					</div>
				</div>
				<div id="logo_bar">
					<img src="../img/logo.gif"/>
					<img id="logo_text" src="../img/logo2.png"/>
				</div>
				<div id="nav_bar">
					<ul>
						<li class="nav_padding_left"></li>
						<li class="shouye">
							<a href="http://localhost:8080/lovetemperature/manage/memberStat">会员卡情况</a>
						</li>
						<li class="dangao">
							<a href="http://localhost:8080/lovetemperature/manage/salesAnalysis">销售情况</a>
						</li>
						<li class="mianbao">
							<a href="http://localhost:8080/lovetemperature/manage/bestSeller">产品情况</a>
						</li>
						<li class="gandian">
							<a href="http://localhost:8080/lovetemperature/manage/memberStat">会员分析</a>
						</li>
					</ul>
				</div>
			</header>
			<div id="mainContent" class="mainContent">
				<h4>最近12个月畅销产品榜</h4>
				<div id="goodsListDiv">
					<table>
						<thead>
							<tr>
								<th>排行</th>
								<th>图片</th>
								<th>产品名称</th>
								<th>单价</th>
								<th>总计售出量</th>
								<th>总销售额</th>
							</tr>
						</thead>
						<tbody>
							<!-- 表中一件商品begin -->
							<tr>
								<td class="sellRank">1</td>
								<td class="sellImage"><img src="http://localhost:8080/lovetemperature/img/goods/classicMuse.jpg" /></td>
								<td class="sellName">窝窝团团购 经典巧克力慕斯</td>
								<td class="sellPrice">￥127.00</td>
								<td class="sellCount">1211</td>
								<td class="totalSell">￥928124.00</td>
							</tr>
							<!-- 表中一件商品end -->
							<tr>
								<td class="sellRank">2</td>
								<td class="sellImage"><img src="http://mall.christine.com.cn/images/goods/20120518/84c315a650963b07.jpg" /></td>
								<td class="sellName">GABA披萨杂粮法包（黑胡椒培根）</td>
								<td class="sellPrice">￥127.00</td>
								<td class="sellCount">1211</td>
								<td class="totalSell">￥928124.00</td>
							</tr>
							<tr>
								<td class="sellRank">3</td>
								<td class="sellImage"><img src="http://mall.christine.com.cn/images/goods/20120518/f9ec5c27b59ce609.jpg" /></td>
								<td class="sellName">GABA调理法包（蒜香）</td>
								<td class="sellPrice">￥127.00</td>
								<td class="sellCount">1211</td>
								<td class="totalSell">￥928124.00</td>
							</tr>
						</tbody>
					</table>
				</div>
			</div>
		</div>
		<!--! end of #container -->
		
		<footer id="footer">
			<img src="../img/tmp/tmpfooter.png" />
		</footer>

		<!-- scripts -->
		<script type="text/javascript" src="../js/libs/jquery-1.9.1.min.js" ></script>
		<script type="text/javascript" src="../js/index.js" ></script>
		<script>
			$(function(){
				$('#loginDiv').hide();
				$('#registerDiv').hide();
			});
		</script>
		<!-- end scripts-->
	</body>
</html>
